Skip to content

chore: drop dead react-router overrides and redundant root devDependencies - #4703

Merged
thymikee merged 1 commit into
mainfrom
chore/audit-dead-overrides-deps
Nov 18, 2026
Merged

thymikee merged 1 commit into
mainfrom
chore/audit-dead-overrides-deps

Conversation

@thymikee

@thymikee thymikee commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Repository-audit cleanup of dead dependency configuration (related to #4368).

  • Removed the react-router / react-router-dom overrides from pnpm-workspace.yaml. Nothing in the workspace resolves to react-router (the website is Astro/Starlight); the pins existed only in the lockfile's overrides block.
  • Removed six root devDependencies (ipaddr.js, jpeg-js, plist, pngjs, undici, yauzl) that were duplicated: every consumer lives in a sub-package that declares its own copy (provision-kit, capture-kit, platform-apple, maestro, host-kit), and no root file imports them.
  • Kept @types/json-schema: typecheck fails without it because the @ai-sdk/provider d.ts resolves json-schema types through the root @types folder.

Touched files: 3 (package.json, pnpm-workspace.yaml, pnpm-lock.yaml). No scope expansion, no behavior change.

Validation

Tested SHA: 4b5e62d.

  • pnpm install --frozen-lockfile passes (lockfile in sync)
  • pnpm lint 0 warnings (5229 files); pnpm format:check clean (5427 files)
  • pnpm typecheck clean (incl. examples/sdk); pnpm build succeeds
  • pnpm test:unit: 2154 files, 20583 tests passed, 0 failed
  • repo-guards (143 tests), layering, di-seams, agent-guidance, gate-manifest, doc-links, doc-prose, mcp-metadata, production-exports, fallow audit, native-dupes: all pass
  • pnpm check:package: clean-install import of all 15 published entry points and a CLI run, proving the removed deps are not needed by the published package

CI obligations: the serialized gate stage validates the pushed head; this is a device-free config change, so no device lanes apply.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

…ncies

The react-router/react-router-dom pnpm overrides pinned packages that no
workspace dependency resolves to (the website is Astro/Starlight), so they
only existed in the lockfile's overrides block. The root devDependencies
ipaddr.js, jpeg-js, plist, pngjs, undici and yauzl were duplicated: every
consumer lives in a sub-package that declares its own copy, and no root
file imports them. @types/json-schema stays: @ai-sdk/provider's d.ts
resolves its types through the root @types folder.

Verified with pnpm install --frozen-lockfile, lint, format:check,
typecheck, build, the full unit suite (20583 passed), repo-guards,
layering/di-seams/agent-guidance/gate-manifest/doc-links/doc-prose/
mcp-metadata/production-exports/fallow audit/native-dupes, and
check:package (clean-install import of all 15 published entry points).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@github-actions

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.40 MB 6.40 MB -956 B
Package (unpacked) 6.40 MB 6.40 MB -956 B
Package (download) 1.94 MB 1.94 MB -346 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 28.2 ms 39.2 ms +10.9 ms
CLI --help 70.8 ms 96.5 ms +25.6 ms

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of 4b5e62d

No open findings.

Not in the reviewers' prompt (1 file)
  • pnpm-lock.yaml: generated or a lockfile, so its lines were left out

Reviewed with this repository's own Sentinel configuration (894c80ac681c).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 18, 2026
@thymikee

Copy link
Copy Markdown
Member Author

I found no problems in 4b5e62d. The diff only touches dependency manifests and the lockfile: the dead react-router overrides and six duplicated root devDependencies whose consumers declare their own copies. 24 of 25 checks pass, and the remaining one is a review check, not a test job. There are no conflicts. This is ready for review.

@thymikee
thymikee merged commit 18ec2fd into main Nov 18, 2026
25 checks passed
@thymikee
thymikee deleted the chore/audit-dead-overrides-deps branch November 18, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant